<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: Action C API</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Action C API<div class="ingroups"><a class="el" href="group__contractdev.html">Smart Contract API Reference</a> &raquo; <a class="el" href="group__actionapi.html">Action API</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Define API for querying action properties.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaaa8e07b94cea97bd0b6bef4c7cf64422"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#gaaa8e07b94cea97bd0b6bef4c7cf64422">read_action</a> (void *msg, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len)</td></tr>
<tr class="memdesc:gaaa8e07b94cea97bd0b6bef4c7cf64422"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy current action to the specified location.  <a href="#gaaa8e07b94cea97bd0b6bef4c7cf64422">More...</a><br /></td></tr>
<tr class="separator:gaaa8e07b94cea97bd0b6bef4c7cf64422"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadd0552a97de236e0c7af3ef2dd909c2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#gadd0552a97de236e0c7af3ef2dd909c2a">action_size</a> ()</td></tr>
<tr class="memdesc:gadd0552a97de236e0c7af3ef2dd909c2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the length of current action's data field.  <a href="#gadd0552a97de236e0c7af3ef2dd909c2a">More...</a><br /></td></tr>
<tr class="separator:gadd0552a97de236e0c7af3ef2dd909c2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae232893c733f02b94dbb70fae39d19f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#gae232893c733f02b94dbb70fae39d19f7">require_recipient</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> name)</td></tr>
<tr class="memdesc:gae232893c733f02b94dbb70fae39d19f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the specified account to set of accounts to be notified.  <a href="#gae232893c733f02b94dbb70fae39d19f7">More...</a><br /></td></tr>
<tr class="separator:gae232893c733f02b94dbb70fae39d19f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab1e668e93ac1f94421743ed79edffb26"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#gab1e668e93ac1f94421743ed79edffb26">require_auth</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> name)</td></tr>
<tr class="memdesc:gab1e668e93ac1f94421743ed79edffb26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify specified account exists in the set of provided auths.  <a href="#gab1e668e93ac1f94421743ed79edffb26">More...</a><br /></td></tr>
<tr class="separator:gab1e668e93ac1f94421743ed79edffb26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5fcca014b53b0f15b9f9636325bae976"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#ga5fcca014b53b0f15b9f9636325bae976">current_receiver</a> ()</td></tr>
<tr class="memdesc:ga5fcca014b53b0f15b9f9636325bae976"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the account which specifies the code that is being run.  <a href="#ga5fcca014b53b0f15b9f9636325bae976">More...</a><br /></td></tr>
<tr class="separator:ga5fcca014b53b0f15b9f9636325bae976"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada68da99a95a5b25e9f5d43af255c63e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#gada68da99a95a5b25e9f5d43af255c63e">send_inline</a> (char *serialized_action, <a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> size)</td></tr>
<tr class="separator:gada68da99a95a5b25e9f5d43af255c63e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9893f539cf6d56989eb6e0d4ce51a813"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#ga9893f539cf6d56989eb6e0d4ce51a813">require_write_lock</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> name)</td></tr>
<tr class="memdesc:ga9893f539cf6d56989eb6e0d4ce51a813"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verifies that name exists in the set of write locks held.  <a href="#ga9893f539cf6d56989eb6e0d4ce51a813">More...</a><br /></td></tr>
<tr class="separator:ga9893f539cf6d56989eb6e0d4ce51a813"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4b02a9d9adf71ae49e77e19fefc0cbf4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#ga4b02a9d9adf71ae49e77e19fefc0cbf4">require_read_lock</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> name)</td></tr>
<tr class="memdesc:ga4b02a9d9adf71ae49e77e19fefc0cbf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verifies that name exists in the set of read locks held.  <a href="#ga4b02a9d9adf71ae49e77e19fefc0cbf4">More...</a><br /></td></tr>
<tr class="separator:ga4b02a9d9adf71ae49e77e19fefc0cbf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga761ba259bec8bbdab79b31b716a5d4d6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga44479e2657d126b44ca53d30c3e670d8">time</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#ga761ba259bec8bbdab79b31b716a5d4d6">publication_time</a> ()</td></tr>
<tr class="memdesc:ga761ba259bec8bbdab79b31b716a5d4d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the publication time.  <a href="#ga761ba259bec8bbdab79b31b716a5d4d6">More...</a><br /></td></tr>
<tr class="separator:ga761ba259bec8bbdab79b31b716a5d4d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf531fda07a825ca8b0d90f21446e6a64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#gaf531fda07a825ca8b0d90f21446e6a64">current_sender</a> ()</td></tr>
<tr class="memdesc:gaf531fda07a825ca8b0d90f21446e6a64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the sender of the action.  <a href="#gaf531fda07a825ca8b0d90f21446e6a64">More...</a><br /></td></tr>
<tr class="separator:gaf531fda07a825ca8b0d90f21446e6a64"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>A EOS.IO action has the following abstract structure:</p>
<div class="fragment"><div class="line"><span class="keyword">struct </span>action {</div><div class="line">  <a class="code" href="group__types.html#ga38500bd43c27c05b7f8a566cefe94656">scope_name</a> scope; <span class="comment">// the contract defining the primary code to execute for code/type</span></div><div class="line">  <a class="code" href="group__types.html#gab0390a1836d20bbbb735af2fce1ad3e8">action_name</a> name; <span class="comment">// the action to be taken</span></div><div class="line">  permission_level[] authorization; <span class="comment">// the accounts and permission levels provided</span></div><div class="line">  <a class="code" href="namespaceeosio.html#a29af370d237fce6bc6bed2cb98bde53f">bytes</a> data; <span class="comment">// opaque data processed by code</span></div><div class="line">};</div></div><!-- fragment --><p>This API enables your contract to inspect the fields on the current action and act accordingly.</p>
<p>Example: </p><div class="fragment"><div class="line"><span class="comment">// Assume this action is used for the following examples:</span></div><div class="line"><span class="comment">// {</span></div><div class="line"><span class="comment">//  &quot;code&quot;: &quot;eos&quot;,</span></div><div class="line"><span class="comment">//  &quot;type&quot;: &quot;transfer&quot;,</span></div><div class="line"><span class="comment">//  &quot;authorization&quot;: [{ &quot;account&quot;: &quot;inita&quot;, &quot;permission&quot;: &quot;active&quot; }],</span></div><div class="line"><span class="comment">//  &quot;data&quot;: {</span></div><div class="line"><span class="comment">//    &quot;from&quot;: &quot;inita&quot;,</span></div><div class="line"><span class="comment">//    &quot;to&quot;: &quot;initb&quot;,</span></div><div class="line"><span class="comment">//    &quot;amount&quot;: 1000</span></div><div class="line"><span class="comment">//  }</span></div><div class="line"><span class="comment">// }</span></div><div class="line"></div><div class="line"><span class="keywordtype">char</span> buffer[128];</div><div class="line"><a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> total = <a class="code" href="group__actioncapi.html#gaaa8e07b94cea97bd0b6bef4c7cf64422">read_action</a>(buffer, 5); <span class="comment">// buffer contains the content of the action up to 5 bytes</span></div><div class="line"><a class="code" href="namespaceeosio.html#aa0a56fe314d032d027a1565d93a68b21">print</a>(total); <span class="comment">// Output: 5</span></div><div class="line"></div><div class="line"><a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> msgsize = <a class="code" href="group__actioncapi.html#gadd0552a97de236e0c7af3ef2dd909c2a">action_size</a>();</div><div class="line"><a class="code" href="namespaceeosio.html#aa0a56fe314d032d027a1565d93a68b21">print</a>(msgsize); <span class="comment">// Output: size of the above action&#39;s data field</span></div><div class="line"></div><div class="line"><a class="code" href="group__actioncapi.html#gae232893c733f02b94dbb70fae39d19f7">require_recipient</a>(<a class="code" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(initc)); <span class="comment">// initc account will be notified for this action</span></div><div class="line"></div><div class="line"><a class="code" href="group__actioncapi.html#gab1e668e93ac1f94421743ed79edffb26">require_auth</a>(<a class="code" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(inita)); <span class="comment">// Do nothing since inita exists in the auth list</span></div><div class="line"><a class="code" href="group__actioncapi.html#gab1e668e93ac1f94421743ed79edffb26">require_auth</a>(<a class="code" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(initb)); <span class="comment">// Throws an exception</span></div><div class="line"></div><div class="line"><a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> code = <a class="code" href="group__actioncapi.html#ga5fcca014b53b0f15b9f9636325bae976">current_receiver</a>();</div><div class="line"><a class="code" href="namespaceeosio.html#aa0a56fe314d032d027a1565d93a68b21">print</a>(Name(code)); <span class="comment">// Output: eos</span></div><div class="line"></div><div class="line"><a class="code" href="group__systemcapi.html#gae2a6ebaf48fe7c69f847ae18f109d09a">assert</a>(Name(<a class="code" href="group__actioncapi.html#ga5fcca014b53b0f15b9f9636325bae976">current_receiver</a>()) === <span class="stringliteral">&quot;eos&quot;</span>, <span class="stringliteral">&quot;This action expects to be received by eos&quot;</span>); <span class="comment">// Do nothing</span></div><div class="line"><a class="code" href="group__systemcapi.html#gae2a6ebaf48fe7c69f847ae18f109d09a">assert</a>(Name(<a class="code" href="group__actioncapi.html#ga5fcca014b53b0f15b9f9636325bae976">current_receiver</a>()) === <span class="stringliteral">&quot;inita&quot;</span>, <span class="stringliteral">&quot;This action expects to be received by inita&quot;</span>); <span class="comment">// Throws exception and roll back transfer transaction</span></div><div class="line"></div><div class="line"><a class="code" href="namespaceeosio.html#aa0a56fe314d032d027a1565d93a68b21">print</a>(<a class="code" href="group__systemcapi.html#ga5eef43c9589d6ef54a0ece1dda5e0ffe">now</a>()); <span class="comment">// Output: timestamp of last accepted block</span></div></div><!-- fragment --> <h2 class="groupheader">Function Documentation</h2>
<a id="gadd0552a97de236e0c7af3ef2dd909c2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadd0552a97de236e0c7af3ef2dd909c2a">&#9670;&nbsp;</a></span>action_size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> action_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the length of the current action's data field This method is useful for dynamically sized actions </p><dl class="section return"><dt>Returns</dt><dd>the length of the current action's data field </dd></dl>

</div>
</div>
<a id="ga5fcca014b53b0f15b9f9636325bae976"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5fcca014b53b0f15b9f9636325bae976">&#9670;&nbsp;</a></span>current_receiver()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> current_receiver </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the account which specifies the code that is being run </p><dl class="section return"><dt>Returns</dt><dd>the account which specifies the code that is being run </dd></dl>

</div>
</div>
<a id="gaf531fda07a825ca8b0d90f21446e6a64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf531fda07a825ca8b0d90f21446e6a64">&#9670;&nbsp;</a></span>current_sender()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> current_sender </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the account which specifies the sender of the action </p><dl class="section return"><dt>Returns</dt><dd>the account which specifies the sender of the action </dd></dl>

</div>
</div>
<a id="ga761ba259bec8bbdab79b31b716a5d4d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga761ba259bec8bbdab79b31b716a5d4d6">&#9670;&nbsp;</a></span>publication_time()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga44479e2657d126b44ca53d30c3e670d8">time</a> publication_time </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the time in seconds from 1970 of the publication_time </p><dl class="section return"><dt>Returns</dt><dd>the time in seconds from 1970 of the publication_time </dd></dl>

</div>
</div>
<a id="gaaa8e07b94cea97bd0b6bef4c7cf64422"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaa8e07b94cea97bd0b6bef4c7cf64422">&#9670;&nbsp;</a></span>read_action()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> read_action </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Copy up to len bytes of current action to the specified location </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">msg</td><td>- a pointer where up to len bytes of the current action will be copied </td></tr>
    <tr><td class="paramname">len</td><td>- len of the current action to be copied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of bytes copied to msg </dd></dl>

</div>
</div>
<a id="gab1e668e93ac1f94421743ed79edffb26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab1e668e93ac1f94421743ed79edffb26">&#9670;&nbsp;</a></span>require_auth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void require_auth </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Verifies that name exists in the set of provided auths on a action. Throws if not found </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>- name of the account to be verified </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga4b02a9d9adf71ae49e77e19fefc0cbf4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4b02a9d9adf71ae49e77e19fefc0cbf4">&#9670;&nbsp;</a></span>require_read_lock()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void require_read_lock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Verifies that name exists in the set of read locks held on a action. Throws if not found </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>- name of the account to be verified </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae232893c733f02b94dbb70fae39d19f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae232893c733f02b94dbb70fae39d19f7">&#9670;&nbsp;</a></span>require_recipient()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void require_recipient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add the specified account to set of accounts to be notified </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>- name of the account to be verified </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga9893f539cf6d56989eb6e0d4ce51a813"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9893f539cf6d56989eb6e0d4ce51a813">&#9670;&nbsp;</a></span>require_write_lock()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void require_write_lock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Verifies that name exists in the set of write locks held on a action. Throws if not found </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>- name of the account to be verified </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gada68da99a95a5b25e9f5d43af255c63e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gada68da99a95a5b25e9f5d43af255c63e">&#9670;&nbsp;</a></span>send_inline()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void send_inline </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>serialized_action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a>&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Send an inline action in the context of this action's parent transaction </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">serialized_action</td><td></td></tr>
    <tr><td class="paramname">size</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
